package com.smiier.skin.util;

import org.json.JSONArray;
import org.json.JSONObject;

public class KeyValueUtil {

	public static JSONObject get(JSONArray arr, String key) {
		try {
			for (int i = 0; i < arr.length(); i++) {
				JSONObject obj = arr.getJSONObject(i);
				if (key.equals(obj.getString("Key"))) {
					return obj;
				}
			}
		} catch (Exception e) {

		}
		return null;
	}
	
	
	
	
	
	

}
